package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.Layout;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.base.entity.Layout;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2021-06-24
 */
public interface ILayoutService extends IService<Layout> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param layout
         * @return
         */
        IPage<Layout> selectPage(Page<Layout> page, Layout layout);

        List<Layout> selectList(Layout layout);

        IPage<Layout> selectPageByTime(Page<Layout> page, String startDate, String endDate);

        IPage<Layout> getBrokenLineGraph(Page<Layout> page, String startDate, String endDate);
        }